#ifndef GRID_H
#define GRID_H

namespace Helper
{
	class Grid
	{
	public:
		Grid(Ogre::SceneManager *sceneMgr);
		~Grid();

		Ogre::ManualObject *m_pGrid;

		void Grid::setVisible(bool visible);
		void CreateGrid(float spacing, float terrainWidth, float terrainHeight, float terrainSize);

	private:
		Ogre::SceneManager *m_pSceneMgr;
		Ogre::RaySceneQuery *m_pRaySceneQuery;

		float getTerrainHeight(float x, float y);
	};
}

#endif